//
//  HPHttpSearchRequest.m
//  HappyPenguin
//
//  Created by zhuangyihang on 1/31/16.
//  Copyright © 2016 zhuangyihang. All rights reserved.
//

#import "HPHttpSearchRequest.h"

@implementation HPHttpSearchRequest

- (NSDictionary *)prepareForParameter{
    return @{@"param":self.keyword,@"query":@"easy"};
}

- (NSString *)getAppType{
    return @"QueryVipParam";
}

- (HttpBaseResponse *)getResponse:(id)data{
    HPHttpSearchResponse *response = [[HPHttpSearchResponse alloc] init];
    response.results = [[ObjectBuilder builder] objectArrayFromJSON:data className:@"VipQueryObject"];
    return response;
}

@end


@implementation HPHttpSearchResponse



@end